import { ElMessage } from 'element-plus'

/**
 * @param {string} message 提示内容
 * @param {string} type 提示类型 success | warning | info | error
 * @return {null}
*/
export default function showMessage(message = "Error", type = "error") {
    ElMessage({
        message: message,
        type: type,
        plain: true,
    })
}